package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Company;

import java.util.List;

public interface CompanyService {
    PageInfo<Company> findByPage(int currentPage,int pageSize);


    void save(Company company);

    Company findById(String id);

    void update(Company company);

    void delete(String[] ids);

    List<Company> findAll();

}
